package com.newMedical.medicine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newMedical.common.annotation.Excel;
import com.newMedical.common.core.domain.BaseEntity;

/**
 * 处方对象 yp_prescription
 * 
 * @author zhou
 * @date 2021-12-03
 */
public class YpPrescription extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处方ID */
    private Long id;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String hzName;

    /** 诊断号 */
    @Excel(name = "诊断号")
    private String hzNum;

    /** 药品名0 */
    @Excel(name = "药品名0")
    private String ypName0;

    /** 规格0 */
    @Excel(name = "规格0")
    private String ypNorm0;

    /** 数量0 */
    @Excel(name = "数量0")
    private String num0;

    /** 备注0 */
    @Excel(name = "备注0")
    private String method0;

    /** 价格0 */
    @Excel(name = "价格0")
    private String price0;

    /** 药品名1 */
    @Excel(name = "药品名1")
    private String ypName1;

    /** 规格1 */
    @Excel(name = "规格1")
    private String ypNorm1;

    /** 退药0 */
    @Excel(name = "退药0")
    private String drawal0;

    /** 数量1 */
    @Excel(name = "数量1")
    private String num1;

    /** 备注1 */
    @Excel(name = "备注1")
    private String method1;

    /** 价格1 */
    @Excel(name = "价格1")
    private String price1;

    /** 药品名2 */
    @Excel(name = "药品名2")
    private String ypName2;

    /** 规格2 */
    @Excel(name = "规格2")
    private String ypNorm2;

    /** 数量2 */
    @Excel(name = "数量2")
    private String num2;

    /** 退药1 */
    @Excel(name = "退药1")
    private String drawal1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String method2;

    /** 药品名3 */
    @Excel(name = "药品名3")
    private String ypName3;

    /** 规格3 */
    @Excel(name = "规格3")
    private String ypNorm3;

    /** 价格2 */
    @Excel(name = "价格2")
    private String price2;

    /** 数量3 */
    @Excel(name = "数量3")
    private String num3;

    /** 备注3 */
    @Excel(name = "备注3")
    private String method3;

    /** 退药2 */
    @Excel(name = "退药2")
    private String drawal2;

    /** 药品名4 */
    @Excel(name = "药品名4")
    private String ypName4;

    /** 规格4 */
    @Excel(name = "规格4")
    private String ypNorm4;

    /** 价格3 */
    @Excel(name = "价格3")
    private String price3;

    /** 数量4 */
    @Excel(name = "数量4")
    private String num4;

    /** 备注4 */
    @Excel(name = "备注4")
    private String method4;

    /** 价格4 */
    @Excel(name = "价格4")
    private String price4;

    /** 退药3 */
    @Excel(name = "退药3")
    private String drawal3;

    /** 是否付费（1：已付费 0：未付费） */
    @Excel(name = "是否付费", readConverterExp = "1=：已付费,0=：未付费")
    private Integer ypState;

    /** 退药4 */
    @Excel(name = "退药4")
    private String drawal4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHzName(String hzName) 
    {
        this.hzName = hzName;
    }

    public String getHzName() 
    {
        return hzName;
    }
    public void setHzNum(String hzNum) 
    {
        this.hzNum = hzNum;
    }

    public String getHzNum() 
    {
        return hzNum;
    }
    public void setYpName0(String ypName0) 
    {
        this.ypName0 = ypName0;
    }

    public String getYpName0() 
    {
        return ypName0;
    }
    public void setYpNorm0(String ypNorm0) 
    {
        this.ypNorm0 = ypNorm0;
    }

    public String getYpNorm0() 
    {
        return ypNorm0;
    }
    public void setNum0(String num0) 
    {
        this.num0 = num0;
    }

    public String getNum0() 
    {
        return num0;
    }
    public void setMethod0(String method0) 
    {
        this.method0 = method0;
    }

    public String getMethod0() 
    {
        return method0;
    }
    public void setPrice0(String price0) 
    {
        this.price0 = price0;
    }

    public String getPrice0() 
    {
        return price0;
    }
    public void setYpName1(String ypName1) 
    {
        this.ypName1 = ypName1;
    }

    public String getYpName1() 
    {
        return ypName1;
    }
    public void setYpNorm1(String ypNorm1) 
    {
        this.ypNorm1 = ypNorm1;
    }

    public String getYpNorm1() 
    {
        return ypNorm1;
    }
    public void setDrawal0(String drawal0) 
    {
        this.drawal0 = drawal0;
    }

    public String getDrawal0() 
    {
        return drawal0;
    }
    public void setNum1(String num1) 
    {
        this.num1 = num1;
    }

    public String getNum1() 
    {
        return num1;
    }
    public void setMethod1(String method1) 
    {
        this.method1 = method1;
    }

    public String getMethod1() 
    {
        return method1;
    }
    public void setPrice1(String price1) 
    {
        this.price1 = price1;
    }

    public String getPrice1() 
    {
        return price1;
    }
    public void setYpName2(String ypName2) 
    {
        this.ypName2 = ypName2;
    }

    public String getYpName2() 
    {
        return ypName2;
    }
    public void setYpNorm2(String ypNorm2) 
    {
        this.ypNorm2 = ypNorm2;
    }

    public String getYpNorm2() 
    {
        return ypNorm2;
    }
    public void setNum2(String num2) 
    {
        this.num2 = num2;
    }

    public String getNum2() 
    {
        return num2;
    }
    public void setDrawal1(String drawal1) 
    {
        this.drawal1 = drawal1;
    }

    public String getDrawal1() 
    {
        return drawal1;
    }
    public void setMethod2(String method2) 
    {
        this.method2 = method2;
    }

    public String getMethod2() 
    {
        return method2;
    }
    public void setYpName3(String ypName3) 
    {
        this.ypName3 = ypName3;
    }

    public String getYpName3() 
    {
        return ypName3;
    }
    public void setYpNorm3(String ypNorm3) 
    {
        this.ypNorm3 = ypNorm3;
    }

    public String getYpNorm3() 
    {
        return ypNorm3;
    }
    public void setPrice2(String price2) 
    {
        this.price2 = price2;
    }

    public String getPrice2() 
    {
        return price2;
    }
    public void setNum3(String num3) 
    {
        this.num3 = num3;
    }

    public String getNum3() 
    {
        return num3;
    }
    public void setMethod3(String method3) 
    {
        this.method3 = method3;
    }

    public String getMethod3() 
    {
        return method3;
    }
    public void setDrawal2(String drawal2) 
    {
        this.drawal2 = drawal2;
    }

    public String getDrawal2() 
    {
        return drawal2;
    }
    public void setYpName4(String ypName4) 
    {
        this.ypName4 = ypName4;
    }

    public String getYpName4() 
    {
        return ypName4;
    }
    public void setYpNorm4(String ypNorm4) 
    {
        this.ypNorm4 = ypNorm4;
    }

    public String getYpNorm4() 
    {
        return ypNorm4;
    }
    public void setPrice3(String price3) 
    {
        this.price3 = price3;
    }

    public String getPrice3() 
    {
        return price3;
    }
    public void setNum4(String num4) 
    {
        this.num4 = num4;
    }

    public String getNum4() 
    {
        return num4;
    }
    public void setMethod4(String method4) 
    {
        this.method4 = method4;
    }

    public String getMethod4() 
    {
        return method4;
    }
    public void setPrice4(String price4) 
    {
        this.price4 = price4;
    }

    public String getPrice4() 
    {
        return price4;
    }
    public void setDrawal3(String drawal3) 
    {
        this.drawal3 = drawal3;
    }

    public String getDrawal3() 
    {
        return drawal3;
    }
    public void setYpState(Integer ypState) 
    {
        this.ypState = ypState;
    }

    public Integer getYpState() 
    {
        return ypState;
    }
    public void setDrawal4(String drawal4) 
    {
        this.drawal4 = drawal4;
    }

    public String getDrawal4() 
    {
        return drawal4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hzName", getHzName())
            .append("hzNum", getHzNum())
            .append("ypName0", getYpName0())
            .append("ypNorm0", getYpNorm0())
            .append("num0", getNum0())
            .append("method0", getMethod0())
            .append("price0", getPrice0())
            .append("ypName1", getYpName1())
            .append("ypNorm1", getYpNorm1())
            .append("drawal0", getDrawal0())
            .append("num1", getNum1())
            .append("method1", getMethod1())
            .append("price1", getPrice1())
            .append("ypName2", getYpName2())
            .append("ypNorm2", getYpNorm2())
            .append("num2", getNum2())
            .append("drawal1", getDrawal1())
            .append("method2", getMethod2())
            .append("ypName3", getYpName3())
            .append("ypNorm3", getYpNorm3())
            .append("price2", getPrice2())
            .append("num3", getNum3())
            .append("method3", getMethod3())
            .append("drawal2", getDrawal2())
            .append("ypName4", getYpName4())
            .append("ypNorm4", getYpNorm4())
            .append("price3", getPrice3())
            .append("num4", getNum4())
            .append("method4", getMethod4())
            .append("price4", getPrice4())
            .append("drawal3", getDrawal3())
            .append("ypState", getYpState())
            .append("drawal4", getDrawal4())
            .toString();
    }
}
